package com.zmj.sy.mom.srv.aps.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zmj.sy.mom.srv.aps.bean.entity.workReport.ReportDetail;
import com.zmj.sy.mom.srv.aps.bean.vo.workReport.ReportDetailVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface WorkReportMapper extends BaseMapper {

    /**
     * @Description: 报工记录明细数据
     *
     * @author: hejiahui
     * @since: 2024/10/22 16:23
     */
    IPage<ReportDetail> getReportDetail(Page page, @Param(Constants.WRAPPER) QueryWrapper query);
    /**
     * @Description: 报工记录汇总数据
     *
     * @author: hejiahui
     * @since: 2024/10/23 8:13
     */
    IPage<ReportDetail> getReportMerge(Page page, @Param(Constants.WRAPPER) QueryWrapper query);
}
